package com.ruoyi.ora.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 语音转写记录对象 ora_voice_record
 * 
 * @author liuwp
 * @date 2024-11-14
 */
public class VoiceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long voiceFolderId;
    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 录音类型 */
    @Excel(name = "录音类型", dictType = "ora_voice_record_type")
    private Integer voiceType;

    /** 语音路径 */
    @Excel(name = "语音路径")
    private String voicePath;

    /** 转写内容 */
    @Excel(name = "转写内容")
    private String voiceContent;

    @Excel(name = "转写JSON")
    private String voiceTransliterate;

    /** 转写平台，字典：ora_ai_platform */
    @Excel(name = "转写平台，字典：ora_ai_platform")
    private Integer aiPlatform;

    /** 分享时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "分享时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shareTime;

    private Date deleteTime;

    /** 语音时长 */
    @Excel(name = "语音时长")
    private Long voiceDuration;

    private Integer status;

    private Integer ReadStatus;

    private String deviceSn;

    private Integer showType;

    private Long deviceUserId;

    private String voiceTitle;
    private String voiceSummarize;
    private String voiceAgency;

    private Integer likeCount;
    private Integer commentCount;
    private Integer collectCount;

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getVoiceAgency() {
        return voiceAgency;
    }

    public void setVoiceAgency(String voiceAgency) {
        this.voiceAgency = voiceAgency;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    public String getVoiceTitle() {
        return voiceTitle;
    }

    public void setVoiceTitle(String voiceTitle) {
        this.voiceTitle = voiceTitle;
    }

    public String getVoiceSummarize() {
        return voiceSummarize;
    }

    public void setVoiceSummarize(String voiceSummarize) {
        this.voiceSummarize = voiceSummarize;
    }

    public Long getDeviceUserId() {
        return deviceUserId;
    }

    public void setDeviceUserId(Long deviceUserId) {
        this.deviceUserId = deviceUserId;
    }
//    private String orderBy;
//
//    public String getOrderBy() {
//        return orderBy;
//    }
//
//    public void setOrderBy(String orderBy) {
//        this.orderBy = orderBy;
//    }


    public Integer getShowType() {
        return showType;
    }

    public void setShowType(Integer showType) {
        this.showType = showType;
    }

    public Long getVoiceFolderId() {
        return voiceFolderId;
    }

    public void setVoiceFolderId(Long voiceFolderId) {
        this.voiceFolderId = voiceFolderId;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public Integer getReadStatus() {
        return ReadStatus;
    }

    public void setReadStatus(Integer readStatus) {
        ReadStatus = readStatus;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getVoiceTransliterate() {
        return voiceTransliterate;
    }

    public void setVoiceTransliterate(String voiceTransliterate) {
        this.voiceTransliterate = voiceTransliterate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVoiceType(Integer voiceType) 
    {
        this.voiceType = voiceType;
    }

    public Integer getVoiceType() 
    {
        return voiceType;
    }
    public void setVoicePath(String voicePath) 
    {
        this.voicePath = voicePath;
    }

    public String getVoicePath() 
    {
        return voicePath;
    }
    public void setVoiceContent(String voiceContent) 
    {
        this.voiceContent = voiceContent;
    }

    public String getVoiceContent() 
    {
        return voiceContent;
    }
    public void setAiPlatform(Integer aiPlatform) 
    {
        this.aiPlatform = aiPlatform;
    }

    public Integer getAiPlatform() 
    {
        return aiPlatform;
    }
    public void setShareTime(Date shareTime) 
    {
        this.shareTime = shareTime;
    }

    public Date getShareTime() 
    {
        return shareTime;
    }
    public void setVoiceDuration(Long voiceDuration) 
    {
        this.voiceDuration = voiceDuration;
    }

    public Long getVoiceDuration() 
    {
        return voiceDuration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("userId", getUserId())
            .append("voiceType", getVoiceType())
            .append("voicePath", getVoicePath())
            .append("voiceContent", getVoiceContent())
            .append("aiPlatform", getAiPlatform())
            .append("createTime", getCreateTime())
            .append("shareTime", getShareTime())
            .append("voiceDuration", getVoiceDuration())
            .toString();
    }
}
